package com.heo.music.player.service;

import com.heo.music.player.dto.input.LoginInput;
import com.heo.music.player.dto.input.ModifyPasswordInput;
import com.heo.music.player.dto.input.UserInfoInput;
import com.heo.music.player.dto.output.TokenOutput;
import com.heo.music.player.dto.output.UserInfoOutput;

/**
 * created on 2024-05-12 10:29
 *
 * @author 星天无极
 **/
public interface AuthService {

    TokenOutput login(LoginInput input);

    UserInfoOutput register(UserInfoInput input);

    void modifyPassword(ModifyPasswordInput input);

    UserInfoOutput getUserInfo();
}
